﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_SalesPlan.cs
// 创建时间：2016/12/6
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///销售计划表(ERP_SalesPlan)数据实体
	/// </summary>
	[Serializable]
	public class ERP_SalesPlan
	{
		#region 变量定义
		
		///<summary>
		///销售计划单ID
		///</summary>
		private int _salesPlanId;
		
		///<summary>
		///销售计划表编号
		///</summary>
		private string _salesPlanNo = String.Empty;
		
		///<summary>
		///制单人
		///</summary>
		private string _inUser = String.Empty;
		
		///<summary>
		///制单时间
		///</summary>
		private string _inDate = String.Empty;
		
		///<summary>
		///审核人
		///</summary>
		private string _checkUser = String.Empty;
		
		///<summary>
		///审核时间
		///</summary>
		private string _checkDate = String.Empty;
		
		///<summary>
		///1,2,3
		///</summary>
		private int _state;
		
		///<summary>
		///对应客户ID
		///</summary>
		private int _customerId;
		
		///<summary>
		///备注
		///</summary>
		private string _remark = String.Empty;
		
		///<summary>
		///申请库房
		///</summary>
		private int _storeRoomId;
		#endregion
		
		#region 构造函数

		///<summary>
		///销售计划表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_SalesPlan()
		{
 
		}
		///<summary>
		///销售计划表
		///</summary>
		public ERP_SalesPlan
		(
			int salesPlanId,
			string salesPlanNo,
			string inUser,
			string inDate,
			string checkUser,
			string checkDate,
			int state,
			int customerId,
			string remark,
			int storeRoomId
		)
		{
			_salesPlanId = salesPlanId;
			_salesPlanNo = salesPlanNo;
			_inUser      = inUser;
			_inDate      = inDate;
			_checkUser   = checkUser;
			_checkDate   = checkDate;
			_state       = state;
			_customerId  = customerId;
			_remark      = remark;
			_storeRoomId = storeRoomId;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///销售计划单ID
		///</summary>
		public int SalesPlanId
		{
			get {return _salesPlanId;}
			set {_salesPlanId = value;}
		}

		
		///<summary>
		///销售计划表编号
		///</summary>
		public string SalesPlanNo
		{
			get {return _salesPlanNo;}
			set {_salesPlanNo = value;}
		}

		
		///<summary>
		///制单人
		///</summary>
		public string InUser
		{
			get {return _inUser;}
			set {_inUser = value;}
		}

		
		///<summary>
		///制单时间
		///</summary>
		public string InDate
		{
			get {return _inDate;}
			set {_inDate = value;}
		}

		
		///<summary>
		///审核人
		///</summary>
		public string CheckUser
		{
			get {return _checkUser;}
			set {_checkUser = value;}
		}

		
		///<summary>
		///审核时间
		///</summary>
		public string CheckDate
		{
			get {return _checkDate;}
			set {_checkDate = value;}
		}

		
		///<summary>
		///1,2,3
		///</summary>
		public int State
		{
			get {return _state;}
			set {_state = value;}
		}

		
		///<summary>
		///对应客户ID
		///</summary>
		public int CustomerId
		{
			get {return _customerId;}
			set {_customerId = value;}
		}

		
		///<summary>
		///备注
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}

		
		///<summary>
		///申请库房
		///</summary>
		public int StoreRoomId
		{
			get {return _storeRoomId;}
			set {_storeRoomId = value;}
		}
	
		#endregion
		
	}
}